public class ForLoopDemo1 {

    public static void main(String[] args) {

        // 定义数组存储编程社团报名学生学号

        String[] programClubStudents = {"2025001", "2025002", "2025003", "2025004", "2025005"};
        int total = 0; // 记录总人数

        // 普通 for 循环：遍历数组，统计人数

        for (int i = 0; i < programClubStudents.length; i++) {

            System.out.println("报名学号: " + programClubStudents[i]);

            total++; // 每次循环人数+1

        }


        System.out.println("编程社团报名总人数: " + total);

    }

}